package com.hu.eurekaconsumer.FeignHystrix;

import com.hu.eurekaconsumer.FeignInterFace.HelloFeign;
import org.springframework.stereotype.Component;

/**
 * @Author lsp
 * @Date 2019/12/31 14:18
 * @Version 1.0
 */
@Component
public class HelloHystrix  implements HelloFeign {
    @Override
    public String hello(String name) {
        return "hello" +name+", this messge send failed  hystrix";
    }
}
